<template>
	<view class="flex-col align-center w100p">
		<u-gap height="10" bgColor="#f8f8f8" style="width: 100%;"></u-gap>
		<view class="text-404">404</view>
		<view class="text-desc">抱歉，页面加载失败了.....</view>
		<view class="refresh-btn" @click="reload">
			<img src="@/static/icon/refresh.png" alt="" />
			刷新
		</view>
		<view class="push-tab"><view class="back-btn" @tap="$navTo('/')">返回主页</view></view>

		<view style="text-align: center;">
			<image class="logo" src="@/static/login_logo.png" alt="" mode="widthFix" />
		</view>
	</view>
</template>

<script>
export default {
	methods: {
		reload() {
			window.location.reload();
		}
	}
};
</script>

<style lang="scss" scoped>
page {
	background-color: white;
	height: 100%;
}

.text-404 {
	font-family: 'Oxygen';
	font-style: normal;
	font-weight: 300;
	font-size: 64px;
	line-height: 80px;
	margin-top: 70px;
	color: #04619a;
	text-align: center;
}

.text-desc {
	font-family: 'PingFang SC';
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 22px;
	text-align: center;
	color: #c1bfbf;
	margin-top: 15px;
}

.refresh-btn {
	width: 120px;
	height: 40px;
	background: #04619a;
	border-radius: 6px;
	margin: 72px auto 0;
	display: flex;
	align-items: center;
	justify-content: center;

	font-family: 'PingFang SC';
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	color: #ffffff;

	img {
		margin-right: 10px;
		width: 16px;
		height: 16px;
	}
}
.push-tab{
	text-align: center;
}
.back-btn {
	font-family: 'PingFang SC';
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 22px;
	color: #97afbd;
	margin-top: 22px;
}

.logo {
	margin-top: 30%;
	width: 233px;
}
</style>
